//<![CDATA[
var szk = {
id: {
home: "http://www.tap1.us/",
link: "anc_data",
player: "anc_pl",
dx: "anc_dx",
sv: "anc_tp",
logo: "",
}
}, s = document.createElement("script");
s.id = szk.id.home;
var $_ = function (_0xb2fdx2) {
return document['getElementById'](_0xb2fdx2);
};
String['prototype']['GetPart'] = function (_0xb2fdx3) {
var _0xb2fdx4 = new RegExp('(^|&)' + _0xb2fdx3 + '=([^&]*)(&|$)');
var _0xb2fdx5 = this['substr'](this['indexOf']('?') + 1)['match'](_0xb2fdx4);
if (_0xb2fdx5 != null) {
return unescape(_0xb2fdx5[2]);
};
return null;
};
function ANCMedia() {
_lg = szk['id']['logo'];
dl = szk['id']['link'];
pl = szk['id']['player'];
tp = szk['id']['sv'];
playing = szk['id']['dx'];
home = szk['id']['home'];
function _0xb2fdx7() {
m_data = $_(dl)['innerHTML'];
r_left = '<div id="r_data" style="display:none !important;" title="Data here !">';
r_right = '</div>';
m_data = m_data['replace'](/\<id\>/gi, r_left);
m_data = m_data['replace'](/\<\/id\>/gi, r_right);
m_data = m_data['replace'](/\[id\]/gi, r_left);
m_data = m_data['replace'](/\[\/id\]/gi, r_right);
$_(dl)['innerHTML'] = m_data;
m_data = $_('r_data')['innerHTML'];
return m_data;
};
data = _0xb2fdx7();
l_spi = data['split']('|')['length'];
l_spk = function (_0xb2fdx2) {
return data['split']('|')[_0xb2fdx2]['split'](';')['length'];
};
d_spi = function (_0xb2fdx2) {
return data['split']('|')[_0xb2fdx2];
};
d_spk = function (_0xb2fdx2, _0xb2fdx8) {
return data['split']('|')[_0xb2fdx2]['split'](';')[_0xb2fdx8];
};
part = new Array();
pc = ['0', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's'];
ab = '';
part_ep = '';
data_out = '';
svl = 'youtube.com,anc.yl,isharephim.mp4,isharephim.y,zing.vn,isharephim.p,isharephim.z,docs.google.com,dailymotion.com,phimsoc.d,picasaweb.google.com,vivo.go,clip.vn,telly.com,dramacrazy1.net,kpt.e,vidbull.com,4shared.com,videobb.com,videozer.com,zippyshare.com,novamov.com,twitvid.com,24video.net,movshare.net,veoh.com,blip.tv,sendspace.com,speedyshare.com,rolo.vn,tunescoop.com,eyvx.com,banbe.net,truongxua.vn,videobam.com,nhaccuatui.com,mediafire.com,vimeo.com,viddler.com,vidxden.com,xvideos.com,free18.net,nuvid.com,youjizz.com,eporner.com,gaytube.com,megafilex.com,porn.com,pornhub.com,pornoxo.com,redtube.com,phim14.net,spankwire.com,tnaflix.com,tube8.com,vtraxe.com,xhamster.com,xtube.com,xxxstash.com,plus.google,vk.com';
svt = 'Youtube,Anc,VIP,HD1,Zing,HD2,HD3,Google,Dailymotion ,PS_Dailymotion ,Google HD,Vivo,Clip HD,Nhanh,EngHD,Eng_KPT,vidbull,4shared,Videobb,Videozer,Zippyshare,Novamov,Twitvid,24video,Movshare,Veoh,Blip,Sendspace,Speedyshare,Rolo,Tunescoop,Eyvx,Banbe,Truongxua,Videobam,NCT,Mediafire,Vimeo,Viddler,Vidxden,Xvideos,Free18,Nuvid,Youjizz,Eporner,Gaytube,Megafilex,Porn,Pornhub,Pornoxo,Redtube,VIP,Spankwire,Tnaflix,Tube8,Vtraxe,Xhamster,Xtube,Xxxstash,plus,vk';
sv = svl['split'](',');
ten_sv = svt['split'](',');
this['Play'] = function () {
for (var _0xb2fdx9 = 0; _0xb2fdx9 < ten_sv['length']; _0xb2fdx9++) {
var _0xb2fdxa = ten_sv[_0xb2fdx9]['split']('.')[0];
if (_0xb2fdxa == '') {
_0xb2fdxa = home;
};
part[_0xb2fdx9] = '<li class="sev">' + _0xb2fdxa + '</li>';
};
for (var _0xb2fdxb = 0; _0xb2fdxb < l_spi; _0xb2fdxb++) {
name_ep = d_spk(_0xb2fdxb, 0);
for (var _0xb2fdxc = 0; _0xb2fdxc < l_spk(_0xb2fdxb); _0xb2fdxc++) {
link_ep = d_spk(_0xb2fdxb, _0xb2fdxc);
number_ep = Number(d_spk(_0xb2fdxb, 0));
number_epp = '';
if (_0xb2fdxb > 0) {
number_epp = Number(d_spk((_0xb2fdxb - 1), 0));
};
if (l_spk(_0xb2fdxb) == 2) {
ab = '';
part_ep = '';
} else {
ab = pc[_0xb2fdxc];
part_ep = '.' + _0xb2fdxc;
};
(number_ep) ? name_eppart = name_ep + ab : name_eppart = name_ep + part_ep;
if (d_spk(_0xb2fdxb, _0xb2fdxc) != '') {
for (var _0xb2fdx9 = 0; _0xb2fdx9 < sv['length']; _0xb2fdx9++) {
(d_spk(_0xb2fdxb, _0xb2fdxc)['indexOf'](sv[_0xb2fdx9]) != -1) ? part[_0xb2fdx9] += '<li onclick="M.Load(\'' + link_ep + '\',\'' + name_eppart + '\');" class="ep"><a class="a_tap" rel="' + home + '' + name_eppart + '" title="' + name_eppart + '-BD Movie" href="?p=' + _0xb2fdxb + '/' + _0xb2fdxc + '/' + name_eppart['replace'](/ /gi, '') + '">&nbsp;' + name_eppart + '&nbsp;</a></li><!--ANCMedia Part-->' : false;
};
};
};
};
data_out += '<div id="list_tap">';
if (l_spi >= 2) {
for (var _0xb2fdx9 = 0; _0xb2fdx9 < sv['length']; _0xb2fdx9++) {
(part[_0xb2fdx9]['indexOf']('ANCMedia') != -1) ? data_out += '<ul id=\'' + _0xb2fdx9 + '\'>' + part[_0xb2fdx9] + '<div style=\'clear:both;\' ></div></ul>' : false;
};
} else {
data_out += '<ul><li class="sev">Unknow</li>' + '<li class="ep"><a class="a_tap" rel="' + home + ' 1End" title="Phim28-Xem Full" href="javascript:M.Load(\'' + data + '\',\'Full_time\');">1End</a></li></ul>';
};
data_out += '<div class="clear" /></div>';
$_(tp)['innerHTML'] = data_out;
};
this['Load'] = function (_0xb2fdx2, _0xb2fdx8) {
obj = '';
name_ep = '';
if (_0xb2fdx2['indexOf'](sv[0]) != -1) {
_0xb2fdx2 = _0xb2fdx2['replace'](/\/watch\?v=/gi, '/v/');
_0xb2fdx2 = _0xb2fdx2['replace'](/\&feature=related/gi, '');
obj = DBOj(_0xb2fdx2)[2];
};
if (_0xb2fdx2['indexOf'](sv[1]) != -1) {
_0xb2fdx2 = _0xb2fdx2['replace'](/anc\.yl/gi, 'http://www.youtube.com/p');
obj = DBOj(_0xb2fdx2)[3];
};
if (_0xb2fdx2['indexOf'](sv[2]) != -1) {
_0xb2fdx2 = _0xb2fdx2['replace'](/isharephim\.mp4/gi, 'http:/');
obj = DBOj(_0xb2fdx2)[0];
};
if (_0xb2fdx2['indexOf'](sv[3]) != -1) {
_0xb2fdx2 = _0xb2fdx2['replace'](/isharephim\.y/gi, 'http://www.youtube.com/v');
_0xb2fdx2 = _0xb2fdx2['replace'](/\&feature=related/gi, '');
obj = DBOj(_0xb2fdx2)[0];
};
if (_0xb2fdx2['indexOf'](sv[4]) != -1) {
_0xb2fdx2 = _0xb2fdx2['replace'](/zing\.vn/gi, 'zing.vn');
obj = DBOj(_0xb2fdx2)[0];
};
if (_0xb2fdx2['indexOf'](sv[5]) != -1) {
_0xb2fdx2 = _0xb2fdx2['replace'](/isharephim\.p/gi, 'https://picasaweb.google.com');
obj = DBOj(_0xb2fdx2)[2];
};

if (_0xb2fdx2['indexOf'](sv[6]) != -1) {
_0xb2fdx22 = _0xb2fdx2['replace'] (/http:\/\/\/[\EMBED|\embed]*,/[\VIDEO|\video]*,/gi, 'http://tv.zing.vn/embed/video/');
obj = DBOj(_0xb2fdx2)[2];
};
if (_0xb2fdx2['indexOf'](sv[7]) != -1) {
_0xb2fdx2 = _0xb2fdx2['replace'](/docs.google\.com/gi, 'docs.google.com');
obj = DBOj(_0xb2fdx2)[1];
};
if (_0xb2fdx2['indexOf'](sv[8]) != -1) {
_0xb2fdx2 = _0xb2fdx2['replace'](/dailymotion\.com/gi, 'dailymotion.com');
obj = DBOj(_0xb2fdx2)[0];
};
if (_0xb2fdx2['indexOf'](sv[9]) != -1) {
_0xb2fdx2 = _0xb2fdx2['replace'](/isharephim\.d/gi, 'http://www.dailymotion.com');
obj = DBOj(_0xb2fdx2)[3];
};
if (_0xb2fdx2['indexOf'](sv[10]) != -1) {
_0xb2fdx2 = _0xb2fdx2['replace'](/anc\.phimsoc/gi, 'picasaweb.google.com');
obj = DBOj(_0xb2fdx2)[0];
};
if (_0xb2fdx2['indexOf'](sv[11]) != -1) {
_0xb2fdx2 = _0xb2fdx2['replace'](/nhaccuatui\.com/gi, 'nhaccuatui.com');
obj = DBOj(_0xb2fdx2)[0];
};
if (_0xb2fdx2['indexOf'](sv[12]) != -1) {
_0xb2fdx2 = _0xb2fdx2['replace'](/http:\/\/[\EMBED|\embed]*,/gi, 'http://clip.vn/embed/');
obj = DBOj(_0xb2fdx2)[2];
};
if (_0xb2fdx2['indexOf'](sv[13]) != -1) {
_0xb2fdx2 = _0xb2fdx2['replace'](/telly\.com/gi, 'telly.com');
obj = DBOj(_0xb2fdx2)[5];
};
if (_0xb2fdx2['indexOf'](sv[14]) != -1) {
_0xb2fdx2 = _0xb2fdx2['replace'](/phim14.net\.net/gi, 'phim14.net');
obj = DBOj(_0xb2fdx2)[9];
};
if (_0xb2fdx2['indexOf'](sv[15]) != -1) {
_0xb2fdx2 = _0xb2fdx2['replace'](/kpt\.e/gi, 'http://videobug.net/embed.php?w=100%&amp;h=100%&amp;vid=vids2');
obj = DBOj(_0xb2fdx2)[8];
};
if (_0xb2fdx2['indexOf'](sv[16]) != -1) {
_0xb2fdx2 = _0xb2fdx2['replace'](/fshare\.vn/gi, 'fshare.vn');
obj = DBOj(_0xb2fdx2)[9];
};
for (var _0xb2fdxd = 17; _0xb2fdxd < sv['length']; _0xb2fdxd++) {
if (_0xb2fdx2['indexOf'](sv[_0xb2fdxd]) != -1) {
obj = DBOj(_0xb2fdx2)[0];
};
};
if (Number(_0xb2fdx8)) {
name_ep = '<span> \u0110ang xem:</span> ' + _0xb2fdx8 + '';
} else {
if (_0xb2fdx8['length'] >= 6) {
name_ep = '<span> \u0110ang xem:</span> ' + _0xb2fdx8 + '';
} else {
if (!Number(_0xb2fdx8) && _0xb2fdx8['length'] < 6) {
name_ep = '<span> \u0110ang xem:</span> ' + _0xb2fdx8 + '';
};
};
};
$_(pl)['innerHTML'] = obj;
$_(playing)['innerHTML'] = name_ep;
};
this['Qstr'] = function () {
str = window['location']['href'];
part = str.GetPart('p');
(part == null) ? part = '0/1/' + d_spk(0, 0) + '' : false;
a = part['split']('/')[0];
b = part['split']('/')[1];
c = decodeURI(part['split']('/')[2]);
(l_spi >= 2) ? this.Load(d_spk(a, b), c) : this.Load(data, 'Full_time');
};
};
var DBOj = function (_0xb2fdx2) {
_em = 'type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="100%" height="400"';
return obj = ['<embed id="anc_pl" name="flashplayer" src="http://www.phim85.com/jwhplayer.swf" FlashVars="plugins=http://www.phim85.com/plugins/proxy.swf&proxy.link=' + _0xb2fdx2 + '&amp;skin=http://phimchongrab.phimvipvn.net/skins/nphim/nphim.xml&amp;autostart=true&amp;logo.file=logo&amp;logo.hide=false&amp;logo.position=top-right&amp;logo.margin=15&amp;skin=http://phimchongrab.phimvipvn.net/skins/nphim/nphim.xml" autostart="true";logo.file=logo&amp;logo.hide=false&amp;logo.position=top-right&amp;logo.margin=15&amp; ' + _em + ' />', '<iframe id="anc_pl"   width="100%" height="400" scrolling="no" src=' + _0xb2fdx2 + ' ' + _em + '/>', '<div id="vngoai"><div id="vtrong"><iframe id="anc_pl" marginheight="0" marginwidth="0" scrolling="no" frameborder="0" src=' + _0xb2fdx2 + ' ' + _em + '/></div></div>', '<embed id="anc_pl" src="' + _0xb2fdx2 + '?modestbranding=1&version=3&hl=vi_VN&rel=0&autoplay=1&showsearch=0&iv_load_policy=3&hideInfos=1" autostart="true" ' + _em + ' allownetworking="internal"/>', '<embed id="anc_pl" name="flashplayer" src="http://sv1.bay68.com/player.swf" FlashVars="plugins=http://sv1.bay68.com/plugins/proxy.swfproxy.image=banner&newsticker.text= Thichxemphim28 Chúc các bạn xem phim vui vẻ!!&amp;newsticker.textwidth=2&amp;newsticker.textcolor=white&proxy.link=' + _0xb2fdx2 + '&autostart=true&skin=http://phimchongrab.phimvipvn.net/skins/nphim/nphim.xml" autostart="true";logo.file=banner&amp;logo.hide=false&amp;logo.position=top-right&amp;logo.margin=15&amp; ' + _em + ' />', '<div id="playphimsohd"><div id="playtrong"><iframe id="player"   width="100%" height="315" style="float:left" marginheight="0" marginwidth="0" scrolling="no" frameborder="0" src=' + _0xb2fdx2 + ' ' + _em + '/></div></div>', '<iframe id="drama" scrolling="no" src=' + _0xb2fdx2 + ' ' + _em + '/>','<div id="vngoai"><div id="vtrong"><iframe id="vf" marginheight="0" marginwidth="0" scrolling="no" frameborder="0" src=' + _0xb2fdx2 + ' ' + _em + '/></div></div>','<iframe id="anc_pl" src=' + _0xb2fdx2 + ' style="width:100%;height:420px;border:0;margin:0;padding:0;"></iframe>'];
};
M = new ANCMedia();
M.Play();
M.Qstr();
document.getElementsByTagName("head")[0].appendChild(s);

function setActive() {
aObj = document.getElementById("list_tap").getElementsByTagName("a");
for (i = 0; i < aObj.length; i++) 0 <= document.location.href.indexOf(aObj[i].href) && (aObj[i].className = "active")
}
window.onload = setActive;
//]]>